package com.alterzhang.alterzhang.service.Impl;

import com.alterzhang.alterzhang.dao.UserDao;
import com.alterzhang.alterzhang.entity.test.User;
import com.alterzhang.alterzhang.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;
    @Override
    public User findByUsername(String userName) {
        return userDao.findByUsername(userName);
    }
}
